<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>

<!DOCTYPE html>
<html lang="en" class="app">
<head>  
  <meta charset="utf-8" />
  <title>价格计算-身高</title>
  <meta name="description" content="app, web app, responsive, admin dashboard, admin, flat, flat ui, ui kit, off screen nav" />
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" /> 
  
	<jsp:include page="../lbi/common.jsp"></jsp:include>

</head>
<body class="" style="position: relative;">
    
    <!--新增代码-->
    <div class="sgtk" style="display: none;">
        <div class="sgtk_xg">
        	<form class="cmxform" id="commentForm" method="get" action=""> 
				<h5>修改</h5>
				<p>
					<input type="hidden" id="id" value="0">
					<span>身高(cm)：<input type="text" id="uName" name="yanzheng2" required="required"/></span>
					<span>金额(¥)：<input type="text" id="uPrice" name="yanzheng1" onkeyup="(this.v=function(){this.value=this.value.replace(/[^0-9-]+/,'');}).call(this)" onblur="this.v();" required="required"/></span>
				</p>
				<p><button class="btn01" onclick="updateHeight()">保存</button><button class="btn02">取消</button></p>
			</form>
        
        </div>
    </div>
    <div class="sgtk2" style="display: none;">
        <div class="sgtk_xg">
        	<form class="cmxform" id="commentForm1" method="get" action=""> 
				<h5>新增</h5>
				<p><span>身高(cm)：<input type="text" id="name" name="yanzheng2" required="required"/></span>
					<span>金额(¥)：<input type="text" id="price" name="yanzheng1" onkeyup="(this.v=function(){this.value=this.value.replace(/[^0-9-]+/,'');}).call(this)" onblur="this.v();"  required="required"/></span>
				</p>
				<p><button class="btn01" onclick="saveHeight()">保存</button><button class="btn02">取消</button></p>
			</form>
        
        </div>
    </div>
    <!--结束新增-->
  <section class="vbox" style="position: absolute;">
    
		<jsp:include page="../lbi/head.jsp" ></jsp:include>
		
    <section>
      <section class="hbox stretch">
        <!-- .aside -->
            <jsp:include page="../lbi/left.jsp" ></jsp:include>
        <!-- /.aside -->
        <section id="content">
                  <section class="hbox stretch">
                          <section id="content">
                         <section class="hbox stretch">
            <!-- <aside class="aside-md bg-light dker b-r" id="subNav">
              <div class="wrapper b-b header">设置</div>
              <ul class="nav">
                <li class="b-b"><a href="basic_information.html"><i class="fa fa-chevron-right pull-right m-t-xs text-xs icon-muted"></i>基本资料</a></li>
                <li class="b-b"><a href="shipping_address.html"><i class="fa fa-chevron-right pull-right m-t-xs text-xs icon-muted"></i>收货地址</a></li>
                <li class="b-b"><a href="change_picture.html"><i class="fa fa-chevron-right pull-right m-t-xs text-xs icon-muted"></i>更改头像</a></li>
              </ul>
            </aside> -->
            <!--从这里开始复制粘贴-->
            <section class="vbox">
                <header class="header bg-white b-b clearfix">
                    <div class="row m-t-sm">
                        <div class="col-sm-8 m-b-xs">
                           <a href="javascript:void(0);" class="chang2"><button type="button" class="but"><i class="fa fa-plus"></i>&nbsp;添加</button></a>
                            <span class="secrch">身高：
                                <input type="text" id="serchName" placeholder=""></input>
                            </span>
                            <button class="btn-sm but" type="button" onclick="serchName()">搜索</button>
                        </div>
                        <div class="col-sm-3 m-b-xs">
                            <div class="input-group">
                                
                            </div>
                        </div>
                        <!-- <div class="col-sm-1 m-b-xs">
                            <button type="button" class="but2">下载列表</button>
                        </div> -->
                    </div>
                </header>
                <section class="scrollable wrapper w-f">
                    <section class="panel panel-default">
                        <div class="table-responsive">
                            <table class="table table-striped m-b-none">
                                <thead>
                                <tr>
                                    <th>身高</th>
                                    <th>日新金额</th>
                                    <th>操作</th>
                                </tr>
                                
                                </thead>
                                
                                <tbody id="heightList">
    
    
                                </tbody>
                            </table>
                        </div>
                    </section>
                </section>
                <footer class="footer bg-white b-t">
                    <div class="row text-center-xs">
                        <div class="col-md-6 hidden-sm">
                        </div>
                        <div class="col-md-6 col-sm-12 text-right text-center-xs">
                            <ul class="pagination pagination-sm m-t-sm m-b-none" id="page_user">

                            </ul>
                        </div>
                    </div>
                </footer>
            </section>
            <!--以上为内容-->
            <a href="#" class="hide nav-off-screen-block" data-toggle="class:nav-off-screen" data-target="#nav"></a>
        </section>
                      </section>
    
                  </section>
             </section>
    </section>
  </section>
  </section>
   
  <script type="text/javascript" src="<c:url value="/js/web_js/sec/height.js"/>"></script>
  
  <!--新增代码-->
  <script>
  	
  	$("#mishu").addClass("active");
  	$("#jiage").addClass("active2");
  	$("#nav_1").css('display','block');
	$("#shengao").addClass("active2");
    /* $(".chang").click(function(){
        $(".sgtk").show();
    }) */
    $(".btn02").click(function(){
        $(".sgtk").hide();
    })
    $(".chang2").click(function(){
        $(".sgtk2").show();
    })
    $(".btn02").click(function(){
        $(".sgtk2").hide();
    })
    
    $().ready(function() {
	    $("#commentForm").validate();
	});
	$().ready(function() {
	    $("#commentForm1").validate();
	});
	
	function one(){
        layer.prompt({title: '新增', formType: 2}, function(text, index){
          layer.close(index);
        });
	}
    
  </script>
  <!--新增代码-->
</body>
</html>